Replication Materials for: Ebb and FLow: The Prospects and Constraints of Climate Migrants


# The files in these replication materials produce the quantitative analyses in the article and online appendix. 

#### Files included in the replication materials: 
1. Ebb_and_Flow_Survey_Data.csv 
Contains the survey data used in the article. 
2. Ebb_and_Flow_Analysis.R
Analyzes the survey data contained in the csv file; produces Figures for the article, and additional tables for the online appendix. 
3. Figure1.tiff, Figure2.tiff, Figure3.tiff, Figure4.tiff, Figure5.tiff
Figures from the article, produced by Ebb_and_Flow_Analysis.R
4. MultivariateAppendixTable.txt, MultivariateAppendixTable2.txt
Appendix tables with multivariabe results, produced by Ebb_and_Flow_Analysis.R

#### Computing specifications. 
## All analyses was conducted on an X86-64 machine, with OS Windows 10 x64. 
## All analyses were produced using R version 4.1.2 (2021-11-01). 
## Attached R base packages:
stats graphics grDrvices utils datasets methods base
## Additional Attached R packages
stargazer 5.2.3 
stringr 1.5.0 
ggpubr 0.6.0
dplyr 1.1.4
ggplot2 3.4.2
## Additional packages loaded via namespace (and not attached)
pillar_1.9.0      compiler_4.1.2    tools_4.1.2       lubridate_1.9.2   lifecycle_1.0.3   tibble_3.2.1      gtable_0.3.3     
timechange_0.2.0  pkgconfig_2.0.3   rlang_1.1.0       cli_3.6.1         rstudioapi_0.14   withr_2.5.0       systemfonts_1.0.4
generics_0.1.3    vctrs_0.6.5       grid_4.1.2        tidyselect_1.2.0  cowplot_1.1.1     glue_1.6.2        R6_2.5.1         
textshaping_0.3.6 rstatix_0.7.2     fansi_1.0.4       carData_3.0-5     tidyr_1.3.0       purrr_1.0.1       farver_2.1.1     
car_3.1-2         magrittr_2.0.3    scales_1.2.1      backports_1.4.1   abind_1.4-5       colorspace_2.1-0  ggsignif_0.6.4   
ragg_1.2.5        labeling_0.4.2    utf8_1.2.3        stringi_1.7.12    munsell_0.5.0     broom_1.0.4  


## Packages can be installed in R using the install.packages() function. To install the package versions used
in the article, please use the option version. For example, for stargazer version 5.2.3: 
install.packages("stargazer", version = "5.2.3")

